package com.etc.pojo;


import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @program: RookieSocialNetworking02
 * @description: 好友实体类
 * @author: 梁伟文
 * @create: 2020-08-14 20:20
 **/
@Data
//@Component
public class Friend {
    private Integer id;
    private User friend;
    private User user;
    private Integer friendStatus;//0:待定(单方面发送请求) 1:(同意) 2:(拒绝)

    public Friend(Integer id, User friend, User user, Integer friendStatus) {
        this.id = id;
        this.friend = friend;
        this.user = user;
        this.friendStatus = friendStatus;
    }

    public Friend() {
    }
}
